package com.responsibilityChain;

/**
 * 购买请求对象
 */
public class PurchaseRequest {

    //请求类型
    private int type = 0 ;
    //单价
    private float cost = 0.0f ;
    //申请号
    private int id ;

    //构造
    public PurchaseRequest(int type,  float cost, int id) {
        this.type = type;
        this.cost = cost;
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public float getCost() {
        return cost;
    }

    public int getId() {
        return id;
    }
}
